package com.caizongzhen.www.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@TableName("illness")
public class Illness {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer kindId;
    private String illnessName;
    private String includeReason;
    private String illnessSymptom;
    private String specialSymptom;
    private Date createTime;
    private Date updateTime;
    @TableField(exist = false)
    private String kindName;
    @TableField(exist = false)
    private Integer pageView;
}
